package com.example.ordersystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("products")
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer productId;
    private String name;
    private String category;
    private BigDecimal price;
    private Integer stock;
}